import Vue from 'vue'
import App from './App.vue'
import router from './router'
import '@/utils/vant-ui'
import ArticleItem from '@/components/ArticleItem.vue'

// 全局注册组件
Vue.component('ArticleItem', ArticleItem)

Vue.config.productionTip = false

// 保存文件自动解决ESlint错误
// VSCode插件：ESLint
// 点击文件->首选项->设置中添加以下配置
/**
 * "editor.codeActionsOnSave": {
        "source.fixAll": "explicit"
    },
    "editor.formatOnSave": false
 */

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
